home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus 2004 #2
/
Amiga Plus CD - 2004 - No. 02.iso
/
AmigaPlus
/
Tools
/
Development
/
AmigaTalk
/
prelude
/
SCollection.p
< prev
next >
Wrap
Text File
|
2004-01-31
|
6KB
|
135 lines
pTempVar <- <primitive 110 21 >
<primitive 112 pTempVar 1 " with:do: " \
#( #[ 16r20 16rA6 16r73 16r21 16rA6 16r74 16r23 16rA2 16rF7 16r0F 16r22 \
16r23 16r24 16rD3 16rF2 16r20 16rA7 16r73 16r21 16rA7 16rF1 \
16r74 16rF2 16rF9 16r13 16rF2 16r5D 16rF3 16rF5] \
#( )) >
<primitive 112 pTempVar 2 " sort: " \
#( #[ 16r20 16rAF 16r74 16r52 16r24 16rA3 16rB2 16rE1 16r05 16r33 16r25 \
16r51 16rC1 16r72 16r22 16r51 16rCB 16rFC 16r0B 16r21 16r24 \
16r22 16rB1 16r24 16r22 16r51 16rC0 16rB1 16rD3 16rAC 16rF7 \
16r1C 16r24 16r22 16rB1 16r73 16r24 16r22 16r24 16r22 16r51 \
16rC0 16rB1 16rD0 16rF2 16r24 16r22 16r51 16rC0 16r23 16rD0 \
16rF2 16r22 16r51 16rC1 16rF1 16r72 16rF2 16rF9 16r2E 16rF3 \
16rB3 16rF2 16r20 16r24 16r0B 16r10 16rF3 16rF5] \
#( )) >
<primitive 112 pTempVar 3 " sort " \
#( #[ 16r20 16rE2 16r01 16r04 16r21 16r22 16rC8 16rF3 16r0B 16r2F 16rF3 \
16rF5] \
#( )) >
<primitive 112 pTempVar 4 " select: " \
#( #[ 16r20 16r20 16r05 16r30 16rA0 16rE2 16r02 16r0C 16r21 16r23 16rB5 \
16rF7 16r04 16r22 16r23 16r0B 16r17 16rF2 16r22 16rF3 16rD7 \
16r0B 16r10 16rF3 16rF5] \
#( )) >
<primitive 112 pTempVar 5 " reversed " \
#( #[ 16r05 16r1E 16r20 16rA3 16rF1 16r72 16rB0 16r71 16r20 16rE1 16r03 \
16r0B 16r21 16r22 16r23 16rD0 16rF2 16r22 16r51 16rC1 16rF1 \
16r72 16rF3 16rB3 16rF2 16r20 16r21 16r0B 16r10 16rF3 16rF5 \
] \
#( )) >
<primitive 112 pTempVar 6 " reverseDo: " \
#( #[ 16r20 16r0A 16r20 16r72 16r20 16r0A 16r1A 16r73 16r22 16r23 16rCB \
16rF7 16r14 16r20 16r22 16r0B 16r35 16rF7 16r05 16r21 16r20 \
16r22 16rB1 16rB5 16rF2 16r22 16r51 16rC1 16rF1 16r72 16rF2 \
16rF9 16r19 16rF2 16r5D 16rF3 16rF5] \
#( )) >
<primitive 112 pTempVar 7 " replaceFrom:to:with:startingAt: " \
#( #[ 16r50 16r75 16r21 16r25 16rC0 16r22 16rC8 16rF7 16r13 16r20 16r21 \
16r25 16rC0 16r23 16r25 16r24 16rC0 16rB1 16rD0 16rF2 16r25 \
16r51 16rC0 16rF1 16r75 16rF2 16rF9 16r1A 16rF2 16rF5] \
#( )) >
<primitive 112 pTempVar 8 " replaceFrom:to:with: " \
#( #[ 16r23 16r21 16rE2 16r04 16r09 16r20 16r24 16r25 16rD0 16rF2 16r24 \
16r51 16rC0 16rF3 16rD7 16rF2 16rF5] \
#( )) >
<primitive 112 pTempVar 9 " last " \
#( #[ 16r50 16r20 16rA3 16rC9 16rF6 16r05 16r20 16r20 16r0A 16r20 16rB1 \
16rF3 16rF5] \
#( )) >
<primitive 112 pTempVar 10 " indexOfSubCollection:startingAt: " \
#( #[ 16r20 16r21 16r22 16rE0 16r06 16r20 16r30 16rBD 16rF2 16r5D 16rF3 \
16r83 16r01 16rF3 16rF5] \
#( 'element not found' #indexOfSubCollection:startingAt:ifAbsent: )) >
<primitive 112 pTempVar 11 " indexOfSubCollection:startingAt:ifAbsent: " \
#( #[ 16r22 16r74 16r20 16rA3 16r21 16rA3 16rC1 16r75 16r24 16r25 16rC8 \
16rF7 16r11 16r21 16r20 16r24 16rDD 16rF7 16r02 16r24 16rF3 \
16rF2 16r24 16r51 16rC0 16rF1 16r74 16rF2 16rF9 16r16 16rF2 \
16r23 16rA5 16rF3 16rF5] \
#( )) >
<primitive 112 pTempVar 12 " findLast:ifAbsent: " \
#( #[ 16r20 16rE1 16r03 16r09 16r21 16r23 16rB5 16rF7 16r03 16r20 16rAB \
16rF4 16rF3 16r0B 16r2B 16rF2 16r22 16rA5 16rF3 16rF5] \
#( )) >
<primitive 112 pTempVar 13 " findLast: " \
#( #[ 16r20 16r21 16rE0 16r04 16r20 16r30 16rBD 16rF3 16rDC 16rF2 16rF5 \
] \
#( 'last element not found' )) >
<primitive 112 pTempVar 14 " findFirst:ifAbsent: " \
#( #[ 16r20 16rE1 16r03 16r09 16r21 16r23 16rB5 16rF7 16r03 16r20 16rAB \
16rF4 16rF3 16rB3 16rF2 16r22 16rA5 16rF3 16rF5] \
#( )) >
<primitive 112 pTempVar 15 " findFirst: " \
#( #[ 16r20 16r21 16rE0 16r04 16r20 16r30 16rBD 16rF3 16rDB 16rF3 16rF5 \
] \
#( 'first element not found' )) >
<primitive 112 pTempVar 16 " equals:startingAt: " \
#( #[ 16r50 16r73 16r20 16rE1 16r04 16r16 16r24 16r21 16r22 16r23 16rC0 \
16rE0 16r02 16r5C 16rF4 16rD5 16rC9 16rF6 16r02 16r5C 16rF4 \
16rF2 16r23 16r51 16rC0 16rF1 16r73 16rF3 16rB3 16rF2 16r5B \
16rF3 16rF5] \
#( )) >
<primitive 112 pTempVar 17 " copyWithout: " \
#( #[ 16r05 16r30 16rA0 16r72 16r20 16rE1 16r03 16r0A 16r23 16r21 16rB6 \
16rF6 16r04 16r22 16r23 16r0B 16r17 16rF3 16rB3 16rF2 16r20 \
16r22 16r0B 16r10 16rF3 16rF5] \
#( )) >
<primitive 112 pTempVar 18 " copyWith: " \
#( #[ 16r20 16r05 16r30 16rA0 16rF1 16r20 16r0B 16r15 16rF2 16rF1 16r21 \
16r0B 16r17 16rF2 16r0B 16r10 16rF3 16rF5] \
#( )) >
<primitive 112 pTempVar 19 " copyFrom:to: " \
#( #[ 16r05 16r30 16rA0 16r73 16r21 16r22 16rB2 16rE1 16r04 16r07 16r23 \
16r20 16r24 16rB1 16r0B 16r17 16rF3 16rB3 16rF2 16r20 16r23 \
16r0B 16r10 16rF3 16rF5] \
#( )) >
<primitive 112 pTempVar 20 " collect: " \
#( #[ 16r20 16r20 16r05 16r30 16rA0 16rE2 16r02 16r09 16r22 16r21 16r23 \
16rB5 16r0B 16r17 16rF2 16r22 16rF3 16rD7 16r0B 16r10 16rF3 \
16rF5] \
#( )) >
<primitive 112 pTempVar 21 " , " \
#( #[ 16r20 16r05 16r30 16rA0 16rF1 16r20 16r0B 16r15 16rF2 16rF1 16r21 \
16r0B 16r15 16rF2 16r0B 16r10 16rF3 16rF5] \
#( )) >
<primitive 98 #SequenceableCollection \
<primitive 97 #SequenceableCollection #KeyedCollection #AmigaTalk:General/SequenceableCollection.st \
#( ) \
#( #with:do: #sort: #sort #select: #reversed #reverseDo: \
#replaceFrom:to:with:startingAt: #replaceFrom:to:with: #last #indexOfSubCollection:startingAt: \
#indexOfSubCollection:startingAt:ifAbsent: #findLast:ifAbsent: #findLast: #findFirst:ifAbsent: #findFirst: \
#equals:startingAt: #copyWithout: #copyWith: #copyFrom:to: #collect: #, ) \
pTempVar 6 9 > #ordinary >